package com.xiaoge.demo.dto;

import lombok.Data;

/**
 * 作者：guoyzh
 * 时间：2018/12/27 16:43
 * 功能：创建dto之获取user表中的部分字段
 */
@Data
public class UserDto {

    private String uid;

    private String name;

    private String account;

    private String pwd;

    private String phone;

    private String token;

    public UserDto(String uid, String name, String account, String pwd, String phone, String token) {
        this.uid = uid;
        this.name = name;
        this.account = account;
        this.pwd = pwd;
        this.phone = phone;
        this.token = token;
    }
}